package com.song.security.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SecurityController {
    @PostMapping("/success")
    public String success(){
        return "success";
    }

    @PostMapping("/failure")
    public String failure(){
        return "failure";
    }
}
